package com.dems.service.impl;

import com.dems.dao.dataobject.ResDevice;
import com.dems.dao.mapper.la.ResDeviceMapper;
import com.dems.service.ResDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResDeviceServiceImpl implements ResDeviceService {

    @Autowired
    private ResDeviceMapper resDeviceMapper;

    @Override
    public List<ResDevice> queryResDeviceList(ResDevice resDevice) {
        return resDeviceMapper.queryDeviceList(resDevice.getProductKey());
    }
}
